﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="newBlog.model.login" %>

<%@ Register Src="~/model/allLink.ascx" TagPrefix="uc1" TagName="allLink" %>

<%   if (Session["user_id"]!=null) {
        Response.Redirect("/index.aspx");
    }
    %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>登录-<%=Application["title"] %></title>
    <meta name="description" content="<%=Application["content"] %>">
    <meta name="keywords" content="<%=Application["key"] %>">
    <uc1:allLink runat="server" ID="allLink" />
    <link rel="stylesheet" href="/css/login.css?<%=DateTime.Now.ToString("yyyyMMddHHmmssffff") %>">
    <script src="/js/model/login.js?<%=DateTime.Now.ToString("yyyyMMddHHmmssffff") %>"></script>

</head>
<body>
    <div class="layui-row  widthMax" style="position: absolute;top: 50%;transform: translateY(-50%)">
    <div class="layui-col-md4 layui-col-md-offset4">
    <div class="layui-panel layui-clear">
           
        <div class="layui-col-space10  margin10">
             <div class="layui-col-md2 layui-col-xs2">
             <label class="text-left">用户名</label>
            </div>
             <div class="layui-col-md10 layui-col-xs10">
             <input type="text" id="username" lay-verify="required" lay-reqtext="用户名是必填项，岂能为空？" placeholder="请输入" autocomplete="off" class="layui-input">
            </div><!--用户名-->
             <div class="layui-col-md2 layui-col-xs2">
             <label class="text-left">密码</label>
             </div>
             <div class="layui-col-md10 layui-col-xs10">
                 <input type="password" id="password" lay-verify="password" lay-reqtext="密码是必填项，岂能为空？" placeholder="请输入" autocomplete="off" class="layui-input">
                </div><!--密码-->
             <div class="layui-col-md2 layui-col-xs2">
                  <label class="text-left">验证码</label>
             </div>
             <div class="layui-col-md7 layui-col-xs7">
             <input type="text" maxlength="4" id="Email_ver" lay-verify="required" lay-reqtext="验证码是必填项，岂能为空？" placeholder="请输入" autocomplete="off" class="layui-input">
             </div>
             <div class="layui-col-md3 layui-col-xs3">
             <button type="button" class="layui-btn layui-btn-normal layui-btn-fluid" onclick="LoginSeedVer(this)">发送</button>
            </div>
             <!--验证码-->
             <div class="layui-col-md6 layui-col-xs6 layui-form "  style="padding-left: 20px"><a href="Register.aspx" target="_blank">还没有账号？</a></div>

             <div class="layui-col-md6 layui-col-xs6 "><a href="ResetPwd.aspx" class="right" style="font-size: 15px" target="_blank">忘记密码?</a></div>
             <div ><button type="button" class="layui-btn layui-btn-fluid" onclick="Login(this)">登录</button>
            </div>

             </div><!--登录表单-->
            </div>
    </div>
    </div>
</body>
</html>
